package com.bysj.entity;

import java.io.Serializable;
import java.util.Date;

public class News implements Serializable{
	private Integer id;
	private String title;
	private String content;
	private String time;
	private String pic;
	private String author;
	private String source;
	private String editor;
	public News() {
	}
	public News(Integer id, String title, String content, String time, String pic,
			String author, String source, String editor) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.time = time;
		this.pic = pic;
		this.author = author;
		this.source = source;
		this.editor = editor;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getEditor() {
		return editor;
	}
	public void setEditor(String editor) {
		this.editor = editor;
	}

}
